/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

import java.sql.Date;

/**
 *
 * @author tran quoc thinh
 */
public class NhanVienPoJo {
    private String maNV;
    private String tenNV;
    private String dienThoai;
    private String diaChi;
    private Date ngaySinh;
    private int quyenHan;
    private String userName;
    private String password;

    public NhanVienPoJo()
    {
        this.maNV = "...";
        this.tenNV = "...";
        this.diaChi="...";
        this.dienThoai="...";
        this.ngaySinh = new Date(1, 1, 1);
        this.quyenHan = 1;
        this.userName = "...";
        this.password = "...";
    }
    
    public NhanVienPoJo(NhanVienPoJo nv)
    {
        this.maNV = nv.maNV;
        this.tenNV = nv.tenNV;
        this.diaChi = nv.diaChi;
        this.dienThoai = nv.dienThoai;
        this.ngaySinh = nv.ngaySinh;
        this.quyenHan = nv.quyenHan;
        this.userName = nv.userName;
        this.password = nv.password;        
    }
    
    public String getDiaChi() {
        return diaChi;
    }

    public void setDiaChi(String diaChi) {
        this.diaChi = diaChi;
    }

    public String getDienThoai() {
        return dienThoai;
    }

    public void setDienThoai(String dienThoai) {
        this.dienThoai = dienThoai;
    }

    public String getMaNV() {
        return maNV;
    }

    public void setMaNV(String maNV) {
        this.maNV = maNV;
    }

    public Date getNgaySinh() {
        return ngaySinh;
    }

    public void setNgaySinh(Date ngaySinh) {
        this.ngaySinh = ngaySinh;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getQuyenHan() {
        return quyenHan;
    }

    public void setQuyenHan(int quyenHan) {
        this.quyenHan = quyenHan;
    }

    public String getTenNV() {
        return tenNV;
    }

    public void setTenNV(String tenNV) {
        this.tenNV = tenNV;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setNgaySinh(java.util.Date ngaysinh) {
         this.ngaySinh = ngaySinh;
    }
    
}
